package com.member.shop.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.member.shop.domain.SysBizCouponGrantUser;

/**
 * 优惠券发放用户Mapper接口
 *
 * @author lixinchen
 * @date 2024-05-08
 */
public interface SysBizCouponGrantUserMapper extends BaseMapper<SysBizCouponGrantUser>
{
    /**
     * 查询优惠券发放用户
     *
     * @param id 优惠券发放用户主键
     * @return 优惠券发放用户
     */
    public SysBizCouponGrantUser selectSysBizCouponGrantUserById(Long id);

    /**
     * 查询优惠券发放用户列表
     *
     * @param sysBizCouponGrantUser 优惠券发放用户
     * @return 优惠券发放用户集合
     */
    public List<SysBizCouponGrantUser> selectSysBizCouponGrantUserList(SysBizCouponGrantUser sysBizCouponGrantUser);

    /**
     * 新增优惠券发放用户
     *
     * @param sysBizCouponGrantUser 优惠券发放用户
     * @return 结果
     */
    public int insertSysBizCouponGrantUser(SysBizCouponGrantUser sysBizCouponGrantUser);

    /**
     * 修改优惠券发放用户
     *
     * @param sysBizCouponGrantUser 优惠券发放用户
     * @return 结果
     */
    public int updateSysBizCouponGrantUser(SysBizCouponGrantUser sysBizCouponGrantUser);

    /**
     * 删除优惠券发放用户
     *
     * @param id 优惠券发放用户主键
     * @return 结果
     */
    public int deleteSysBizCouponGrantUserById(Long id);

    /**
     * 批量删除优惠券发放用户
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBizCouponGrantUserByIds(Long[] ids);
}